package com.budwk.app.sqfw.services;

import com.budwk.app.sqfw.dto.SqfwSummaryPdfExcelCollForAdminDTO;
import com.budwk.app.sqfw.models.Sqfw_formSummary;
import com.budwk.app.sqfw.vo.Sqfw_formSummaryForAdminVO;
import com.budwk.starter.common.result.Result;
import com.budwk.starter.database.service.BaseService;
import org.nutz.dao.Cnd;

import java.util.List;

/**
 * @program: wk-mini
 * @description: 巡查记录服务
 * @author: LJT
 * @create: 2023-11-07 08:41
 **/
public interface SqfwCheckRecordForAdminService extends BaseService<Sqfw_formSummary> {

    /**
     * 获取导出Excel或pdf的sumIdList
     *
     * @param bean
     * @return
     */
    List<SqfwSummaryPdfExcelCollForAdminDTO> getPdfExcelFileDownSumIdList(Sqfw_formSummaryForAdminVO bean, String pageOrderName, String pageOrderBy);

    /**
     * 组建巡查记录的查询条件
     *
     * @param bean
     * @param pageOrderName
     * @param pageOrderBy
     * @return
     */
    Result<?> listForHouseSurvey(Sqfw_formSummaryForAdminVO bean, String pageOrderName, String pageOrderBy);

    /**
     * 入户调查 查询构建条件参数
     *
     * @param bean
     * @param pageOrderName
     * @param pageOrderBy
     * @return
     */
    Cnd buildCndParam(Sqfw_formSummaryForAdminVO bean, String pageOrderName, String pageOrderBy);
}
